const data2 = {
  "hasAlarm": false,
  "links": [
      "68e69ee5-273a-40e2-a659-ef1f22774211,ee5b6af9-cf61-4f89-a75f-17e5cf88c790",
      "8b830448-e5d3-4b69-b1e8-cbcb5f3611a6,68e69ee5-273a-40e2-a659-ef1f22774211",
      "ece10e19-f761-42e9-a989-547f9da1c796,8b830448-e5d3-4b69-b1e8-cbcb5f3611a6",
      "31fe3004-38f1-4645-9a00-9ab745fb4ee4,88f1203e-20f5-47ea-b4bb-b9e71319b9e4",
      "d964580d-8fae-4263-8352-4c84a303c531,31fe3004-38f1-4645-9a00-9ab745fb4ee4",
      "ece10e19-f761-42e9-a989-547f9da1c796,d964580d-8fae-4263-8352-4c84a303c531",
      "867d8df8-f601-4737-828b-69ff8ceec6df,da67d0ab-7512-4875-9063-33d6b4d0fc8b",
      "ed6eece5-a444-4eae-af20-c49e81ff288f,867d8df8-f601-4737-828b-69ff8ceec6df",
      "ece10e19-f761-42e9-a989-547f9da1c796,ed6eece5-a444-4eae-af20-c49e81ff288f",
      "39e61a29-2995-4366-bfaf-49b252d088b8,45d38b7b-ac0f-4349-9365-124cd92be89e",
      "c5b58081-b32e-447a-9e3a-2c7cb4f7d445,39e61a29-2995-4366-bfaf-49b252d088b8",
      "ece10e19-f761-42e9-a989-547f9da1c796,c5b58081-b32e-447a-9e3a-2c7cb4f7d445",
      "fa9cdbd2-b0b1-4076-8051-932100ee8317,2d818269-2165-46d3-9547-a8996fb0249a",
      "40cfe922-862f-4b9e-ab98-527f155d2933,fa9cdbd2-b0b1-4076-8051-932100ee8317",
      "ece10e19-f761-42e9-a989-547f9da1c796,40cfe922-862f-4b9e-ab98-527f155d2933",
      "0dcd9845-0afa-4566-8977-7156640dfa3f,f8976b1a-64df-442a-9866-a980c3ddb526",
      "5b890bcb-fa81-4168-a0a0-79355d613378,0dcd9845-0afa-4566-8977-7156640dfa3f",
      "ece10e19-f761-42e9-a989-547f9da1c796,5b890bcb-fa81-4168-a0a0-79355d613378",
      "6b2326de-2282-4404-a52f-3d0ab8948dfc,0626b502-8086-44e6-9b05-f638f5299eff",
      "74095e3d-4012-4a33-b6e2-483499e9e68e,6b2326de-2282-4404-a52f-3d0ab8948dfc",
      "ece10e19-f761-42e9-a989-547f9da1c796,74095e3d-4012-4a33-b6e2-483499e9e68e",
      "292c2f67-c49a-41e7-aba9-bd4d322fb0cd,02211d39-b6d2-4783-b941-f9d889715c77",
      "f4babcf2-0c91-4896-8de6-380cd2fe5ddd,292c2f67-c49a-41e7-aba9-bd4d322fb0cd",
      "ece10e19-f761-42e9-a989-547f9da1c796,f4babcf2-0c91-4896-8de6-380cd2fe5ddd",
      "266325ce-8a0d-4540-922a-1c1f4cbbeeaf,6b898f36-064c-4b30-baea-4c8f2b64be40",
      "11b9439c-ceb3-4818-a09e-f93753271b6c,266325ce-8a0d-4540-922a-1c1f4cbbeeaf",
      "ece10e19-f761-42e9-a989-547f9da1c796,11b9439c-ceb3-4818-a09e-f93753271b6c",
      "47d0e9fe-4e93-4239-8b59-071c3491aa29,82190cba-5acb-4138-a58d-9e3bfcee6a57",
      "bc935573-ecf6-44bd-9b4a-947c8d06fc86,47d0e9fe-4e93-4239-8b59-071c3491aa29",
      "ece10e19-f761-42e9-a989-547f9da1c796,bc935573-ecf6-44bd-9b4a-947c8d06fc86",
      "a36753dc-e587-4d65-b93b-b39a02ef76a1,2710d33c-566d-43a1-bfc0-ef5f173393c5",
      "07284196-664e-4d4a-a27b-b0f5a01766f1,a36753dc-e587-4d65-b93b-b39a02ef76a1",
      "ece10e19-f761-42e9-a989-547f9da1c796,07284196-664e-4d4a-a27b-b0f5a01766f1",
      "57e81fe7-fa71-4e0c-93db-0f579a1da727,ab744d8f-5cd9-4b86-81ea-088906e36116",
      "dd23b866-63d4-4c1e-8a95-e8f8a4404bbb,57e81fe7-fa71-4e0c-93db-0f579a1da727",
      "ece10e19-f761-42e9-a989-547f9da1c796,dd23b866-63d4-4c1e-8a95-e8f8a4404bbb",
      "55b8a847-b9c3-4d50-9f75-394911d463a0,b90a0d2a-6eca-459e-82d9-7b2c51039b01",
      "3d189bb0-539b-4cd0-b57e-40a48b1e0de8,55b8a847-b9c3-4d50-9f75-394911d463a0",
      "ece10e19-f761-42e9-a989-547f9da1c796,3d189bb0-539b-4cd0-b57e-40a48b1e0de8",
      "504967b3-793a-46f7-b4ea-557eaa45493a,ece10e19-f761-42e9-a989-547f9da1c796"
  ],
  "nodes": [
      {
          "attributes": {},
          "exceptionMsg": null,
          "ip": null,
          "masterIp": "dc_cn_devcluster1",
          "masterName": null,
          "name": "kube-system",
          "namespace": null,
          "sid": null,
          "status": null,
          "type": "namespace",
          "uid": "504967b3-793a-46f7-b4ea-557eaa45493a"
      },
      {
          "attributes": {
              "workloadType": "daemonset"
          },
          "exceptionMsg": null,
          "ip": null,
          "masterIp": "dc_cn_devcluster1",
          "masterName": null,
          "name": "ovs-ovn",
          "namespace": "kube-system",
          "sid": null,
          "status": null,
          "type": "workload",
          "uid": "ece10e19-f761-42e9-a989-547f9da1c796"
      },
      {
          "attributes": {},
          "exceptionMsg": null,
          "ip": "10.187.6.15",
          "masterIp": "dc_cn_devcluster1",
          "masterName": null,
          "name": "10.187.6.15",
          "namespace": null,
          "sid": null,
          "status": null,
          "type": "node",
          "uid": "8b830448-e5d3-4b69-b1e8-cbcb5f3611a6"
      },
      {
          "attributes": {
              "podUid": "adf31e1c-11f3-44b1-812f-09d6772f10da",
              "workloadName": "ovs-ovn"
          },
          "exceptionMsg": null,
          "ip": null,
          "masterIp": "dc_cn_devcluster1",
          "masterName": null,
          "name": "ovs-ovn-sjdxt",
          "namespace": "kube-system",
          "sid": 61078,
          "status": "Running",
          "type": "pod",
          "uid": "68e69ee5-273a-40e2-a659-ef1f22774211"
      },
      {
          "attributes": {
              "containerId": "docker://6576e74ffc364c48d11a0e993a0cbf3c41d2241f5402d318c5347418161cd28a",
              "podName": "ovs-ovn-sjdxt",
              "podUid": "adf31e1c-11f3-44b1-812f-09d6772f10da",
              "workloadName": "ovs-ovn"
          },
          "exceptionMsg": null,
          "ip": null,
          "masterIp": "dc_cn_devcluster1",
          "masterName": "ovs-ovn-sjdxt",
          "name": "openvswitch",
          "namespace": "kube-system",
          "sid": 110173,
          "status": "Running",
          "type": "container",
          "uid": "ee5b6af9-cf61-4f89-a75f-17e5cf88c790"
      },
      {
          "attributes": {},
          "exceptionMsg": null,
          "ip": "10.187.6.14",
          "masterIp": "dc_cn_devcluster1",
          "masterName": null,
          "name": "10.187.6.14",
          "namespace": null,
          "sid": null,
          "status": null,
          "type": "node",
          "uid": "d964580d-8fae-4263-8352-4c84a303c531"
      },
      {
          "attributes": {
              "podUid": "00c6ba37-8f27-48e1-8f70-23adfea64b8b",
              "workloadName": "ovs-ovn"
          },
          "exceptionMsg": null,
          "ip": null,
          "masterIp": "dc_cn_devcluster1",
          "masterName": null,
          "name": "ovs-ovn-6v9bz",
          "namespace": "kube-system",
          "sid": 31294,
          "status": "Running",
          "type": "pod",
          "uid": "31fe3004-38f1-4645-9a00-9ab745fb4ee4"
      },
      {
          "attributes": {
              "containerId": "docker://747859c7a3dc5d0eca6198c2808f7d2ed5c6052db09002a9b5e2613f12d1e3cc",
              "podName": "ovs-ovn-6v9bz",
              "podUid": "00c6ba37-8f27-48e1-8f70-23adfea64b8b",
              "workloadName": "ovs-ovn"
          },
          "exceptionMsg": null,
          "ip": null,
          "masterIp": "dc_cn_devcluster1",
          "masterName": "ovs-ovn-6v9bz",
          "name": "openvswitch",
          "namespace": "kube-system",
          "sid": 78553,
          "status": "Running",
          "type": "container",
          "uid": "88f1203e-20f5-47ea-b4bb-b9e71319b9e4"
      },
      {
          "attributes": {},
          "exceptionMsg": null,
          "ip": "10.187.6.17",
          "masterIp": "dc_cn_devcluster1",
          "masterName": null,
          "name": "10.187.6.17",
          "namespace": null,
          "sid": null,
          "status": null,
          "type": "node",
          "uid": "ed6eece5-a444-4eae-af20-c49e81ff288f"
      },
      {
          "attributes": {
              "podUid": "49ebad8b-6ab2-4917-8104-edeb9a06a9f1",
              "workloadName": "ovs-ovn"
          },
          "exceptionMsg": null,
          "ip": null,
          "masterIp": "dc_cn_devcluster1",
          "masterName": null,
          "name": "ovs-ovn-sw94p",
          "namespace": "kube-system",
          "sid": 31303,
          "status": "Running",
          "type": "pod",
          "uid": "867d8df8-f601-4737-828b-69ff8ceec6df"
      },
      {
          "attributes": {
              "containerId": "docker://b1d9c641914aab09e70d9e9b7634b174bcf046f285290981dc66094da23a3318",
              "podName": "ovs-ovn-sw94p",
              "podUid": "49ebad8b-6ab2-4917-8104-edeb9a06a9f1",
              "workloadName": "ovs-ovn"
          },
          "exceptionMsg": null,
          "ip": null,
          "masterIp": "dc_cn_devcluster1",
          "masterName": "ovs-ovn-sw94p",
          "name": "openvswitch",
          "namespace": "kube-system",
          "sid": 78562,
          "status": "Running",
          "type": "container",
          "uid": "da67d0ab-7512-4875-9063-33d6b4d0fc8b"
      },
      {
          "attributes": {},
          "exceptionMsg": null,
          "ip": "10.187.6.16",
          "masterIp": "dc_cn_devcluster1",
          "masterName": null,
          "name": "10.187.6.16",
          "namespace": null,
          "sid": null,
          "status": null,
          "type": "node",
          "uid": "c5b58081-b32e-447a-9e3a-2c7cb4f7d445"
      },
      {
          "attributes": {
              "podUid": "101f556a-4872-4e5a-91a4-64e983263ee1",
              "workloadName": "ovs-ovn"
          },
          "exceptionMsg": null,
          "ip": null,
          "masterIp": "dc_cn_devcluster1",
          "masterName": null,
          "name": "ovs-ovn-74rsb",
          "namespace": "kube-system",
          "sid": 31295,
          "status": "Running",
          "type": "pod",
          "uid": "39e61a29-2995-4366-bfaf-49b252d088b8"
      },
      {
          "attributes": {
              "containerId": "docker://c4fc01fcb38aad20b97c2704d86ac9cd561dfb0fb00b522b172ff1bdb48c2b32",
              "podName": "ovs-ovn-74rsb",
              "podUid": "101f556a-4872-4e5a-91a4-64e983263ee1",
              "workloadName": "ovs-ovn"
          },
          "exceptionMsg": null,
          "ip": null,
          "masterIp": "dc_cn_devcluster1",
          "masterName": "ovs-ovn-74rsb",
          "name": "openvswitch",
          "namespace": "kube-system",
          "sid": 78554,
          "status": "Running",
          "type": "container",
          "uid": "45d38b7b-ac0f-4349-9365-124cd92be89e"
      },
      {
          "attributes": {},
          "exceptionMsg": null,
          "ip": "10.187.6.19",
          "masterIp": "dc_cn_devcluster1",
          "masterName": null,
          "name": "10.187.6.19",
          "namespace": null,
          "sid": null,
          "status": null,
          "type": "node",
          "uid": "40cfe922-862f-4b9e-ab98-527f155d2933"
      },
      {
          "attributes": {
              "podUid": "85b7da75-34b6-4c0d-a940-da77e8f491f2",
              "workloadName": "ovs-ovn"
          },
          "exceptionMsg": null,
          "ip": null,
          "masterIp": "dc_cn_devcluster1",
          "masterName": null,
          "name": "ovs-ovn-gffg6",
          "namespace": "kube-system",
          "sid": 31299,
          "status": "Running",
          "type": "pod",
          "uid": "fa9cdbd2-b0b1-4076-8051-932100ee8317"
      },
      {
          "attributes": {
              "containerId": "docker://bc40abda97cbc57573d248a191b457d8854549e281a2b7c95e1f3ea5894b3af9",
              "podName": "ovs-ovn-gffg6",
              "podUid": "85b7da75-34b6-4c0d-a940-da77e8f491f2",
              "workloadName": "ovs-ovn"
          },
          "exceptionMsg": null,
          "ip": null,
          "masterIp": "dc_cn_devcluster1",
          "masterName": "ovs-ovn-gffg6",
          "name": "openvswitch",
          "namespace": "kube-system",
          "sid": 78558,
          "status": "Running",
          "type": "container",
          "uid": "2d818269-2165-46d3-9547-a8996fb0249a"
      },
      {
          "attributes": {},
          "exceptionMsg": null,
          "ip": "10.187.6.18",
          "masterIp": "dc_cn_devcluster1",
          "masterName": null,
          "name": "10.187.6.18",
          "namespace": null,
          "sid": null,
          "status": null,
          "type": "node",
          "uid": "5b890bcb-fa81-4168-a0a0-79355d613378"
      },
      {
          "attributes": {
              "podUid": "583b38ca-c9c3-4683-9245-5915857e0149",
              "workloadName": "ovs-ovn"
          },
          "exceptionMsg": null,
          "ip": null,
          "masterIp": "dc_cn_devcluster1",
          "masterName": null,
          "name": "ovs-ovn-9pm2q",
          "namespace": "kube-system",
          "sid": 31296,
          "status": "Running",
          "type": "pod",
          "uid": "0dcd9845-0afa-4566-8977-7156640dfa3f"
      },
      {
          "attributes": {
              "containerId": "docker://b022cbe44691972dcb03c35512d233b2b7fcd646b3e589e611bc9795774b76cc",
              "podName": "ovs-ovn-9pm2q",
              "podUid": "583b38ca-c9c3-4683-9245-5915857e0149",
              "workloadName": "ovs-ovn"
          },
          "exceptionMsg": null,
          "ip": null,
          "masterIp": "dc_cn_devcluster1",
          "masterName": "ovs-ovn-9pm2q",
          "name": "openvswitch",
          "namespace": "kube-system",
          "sid": 78555,
          "status": "Running",
          "type": "container",
          "uid": "f8976b1a-64df-442a-9866-a980c3ddb526"
      },
      {
          "attributes": {},
          "exceptionMsg": null,
          "ip": "10.187.6.20",
          "masterIp": "dc_cn_devcluster1",
          "masterName": null,
          "name": "10.187.6.20",
          "namespace": null,
          "sid": null,
          "status": null,
          "type": "node",
          "uid": "74095e3d-4012-4a33-b6e2-483499e9e68e"
      },
      {
          "attributes": {
              "podUid": "5c72d643-64f9-4ae0-9282-19ce59eb0f45",
              "workloadName": "ovs-ovn"
          },
          "exceptionMsg": null,
          "ip": null,
          "masterIp": "dc_cn_devcluster1",
          "masterName": null,
          "name": "ovs-ovn-gvpkd",
          "namespace": "kube-system",
          "sid": 31300,
          "status": "Running",
          "type": "pod",
          "uid": "6b2326de-2282-4404-a52f-3d0ab8948dfc"
      },
      {
          "attributes": {
              "containerId": "docker://2a383b9ca0e4e18c94d906cc58a3ba0439615e4dc5ae1ee243f8815cc580ca1b",
              "podName": "ovs-ovn-gvpkd",
              "podUid": "5c72d643-64f9-4ae0-9282-19ce59eb0f45",
              "workloadName": "ovs-ovn"
          },
          "exceptionMsg": null,
          "ip": null,
          "masterIp": "dc_cn_devcluster1",
          "masterName": "ovs-ovn-gvpkd",
          "name": "openvswitch",
          "namespace": "kube-system",
          "sid": 78559,
          "status": "Running",
          "type": "container",
          "uid": "0626b502-8086-44e6-9b05-f638f5299eff"
      },
      {
          "attributes": {},
          "exceptionMsg": null,
          "ip": "10.187.6.11",
          "masterIp": "dc_cn_devcluster1",
          "masterName": null,
          "name": "10.187.6.11",
          "namespace": null,
          "sid": null,
          "status": null,
          "type": "node",
          "uid": "f4babcf2-0c91-4896-8de6-380cd2fe5ddd"
      },
      {
          "attributes": {
              "podUid": "df6ff194-741c-40fe-b6c1-2d9a6198ac11",
              "workloadName": "ovs-ovn"
          },
          "exceptionMsg": null,
          "ip": null,
          "masterIp": "dc_cn_devcluster1",
          "masterName": null,
          "name": "ovs-ovn-mg7kd",
          "namespace": "kube-system",
          "sid": 31301,
          "status": "Running",
          "type": "pod",
          "uid": "292c2f67-c49a-41e7-aba9-bd4d322fb0cd"
      },
      {
          "attributes": {
              "containerId": "docker://d1f562f386ed7469fa0d88fde1243307a03af162ac3c205480ee5125df20100a",
              "podName": "ovs-ovn-mg7kd",
              "podUid": "df6ff194-741c-40fe-b6c1-2d9a6198ac11",
              "workloadName": "ovs-ovn"
          },
          "exceptionMsg": null,
          "ip": null,
          "masterIp": "dc_cn_devcluster1",
          "masterName": "ovs-ovn-mg7kd",
          "name": "openvswitch",
          "namespace": "kube-system",
          "sid": 78560,
          "status": "Running",
          "type": "container",
          "uid": "02211d39-b6d2-4783-b941-f9d889715c77"
      },
      {
          "attributes": {},
          "exceptionMsg": null,
          "ip": "10.187.6.22",
          "masterIp": "dc_cn_devcluster1",
          "masterName": null,
          "name": "10.187.6.22",
          "namespace": null,
          "sid": null,
          "status": null,
          "type": "node",
          "uid": "11b9439c-ceb3-4818-a09e-f93753271b6c"
      },
      {
          "attributes": {
              "podUid": "6ebf8ede-60bb-4b6e-86b9-7b06233faa3c",
              "workloadName": "ovs-ovn"
          },
          "exceptionMsg": null,
          "ip": null,
          "masterIp": "dc_cn_devcluster1",
          "masterName": null,
          "name": "ovs-ovn-fm5wl",
          "namespace": "kube-system",
          "sid": 31298,
          "status": "Running",
          "type": "pod",
          "uid": "266325ce-8a0d-4540-922a-1c1f4cbbeeaf"
      },
      {
          "attributes": {
              "containerId": "docker://0526406aa0c27272eb2d6c5e2a4a6e0f12e0767cea4a44e21d5606a3a25b4d84",
              "podName": "ovs-ovn-fm5wl",
              "podUid": "6ebf8ede-60bb-4b6e-86b9-7b06233faa3c",
              "workloadName": "ovs-ovn"
          },
          "exceptionMsg": null,
          "ip": null,
          "masterIp": "dc_cn_devcluster1",
          "masterName": "ovs-ovn-fm5wl",
          "name": "openvswitch",
          "namespace": "kube-system",
          "sid": 78557,
          "status": "Running",
          "type": "container",
          "uid": "6b898f36-064c-4b30-baea-4c8f2b64be40"
      },
      {
          "attributes": {},
          "exceptionMsg": null,
          "ip": "10.187.6.21",
          "masterIp": "dc_cn_devcluster1",
          "masterName": null,
          "name": "10.187.6.21",
          "namespace": null,
          "sid": null,
          "status": null,
          "type": "node",
          "uid": "bc935573-ecf6-44bd-9b4a-947c8d06fc86"
      },
      {
          "attributes": {
              "podUid": "dddee1c4-0a19-4845-bad4-8fc8a3066901",
              "workloadName": "ovs-ovn"
          },
          "exceptionMsg": null,
          "ip": null,
          "masterIp": "dc_cn_devcluster1",
          "masterName": null,
          "name": "ovs-ovn-t27s6",
          "namespace": "kube-system",
          "sid": 31304,
          "status": "Running",
          "type": "pod",
          "uid": "47d0e9fe-4e93-4239-8b59-071c3491aa29"
      },
      {
          "attributes": {
              "containerId": "docker://838b07589358efb44b77208f6396834bcb3bf98e31eebcab8cf079c8742b6e86",
              "podName": "ovs-ovn-t27s6",
              "podUid": "dddee1c4-0a19-4845-bad4-8fc8a3066901",
              "workloadName": "ovs-ovn"
          },
          "exceptionMsg": null,
          "ip": null,
          "masterIp": "dc_cn_devcluster1",
          "masterName": "ovs-ovn-t27s6",
          "name": "openvswitch",
          "namespace": "kube-system",
          "sid": 78563,
          "status": "Running",
          "type": "container",
          "uid": "82190cba-5acb-4138-a58d-9e3bfcee6a57"
      },
      {
          "attributes": {},
          "exceptionMsg": null,
          "ip": "10.187.6.13",
          "masterIp": "dc_cn_devcluster1",
          "masterName": null,
          "name": "10.187.6.13",
          "namespace": null,
          "sid": null,
          "status": null,
          "type": "node",
          "uid": "07284196-664e-4d4a-a27b-b0f5a01766f1"
      },
      {
          "attributes": {
              "podUid": "dec880e1-ad84-4cdc-9060-59f854d86ce8",
              "workloadName": "ovs-ovn"
          },
          "exceptionMsg": null,
          "ip": null,
          "masterIp": "dc_cn_devcluster1",
          "masterName": null,
          "name": "ovs-ovn-vzqvc",
          "namespace": "kube-system",
          "sid": 31305,
          "status": "Running",
          "type": "pod",
          "uid": "a36753dc-e587-4d65-b93b-b39a02ef76a1"
      },
      {
          "attributes": {
              "containerId": "docker://9c348728860d4967e24aa4f969c7915c8391f95385cad788ca6a8030ded9f7cb",
              "podName": "ovs-ovn-vzqvc",
              "podUid": "dec880e1-ad84-4cdc-9060-59f854d86ce8",
              "workloadName": "ovs-ovn"
          },
          "exceptionMsg": null,
          "ip": null,
          "masterIp": "dc_cn_devcluster1",
          "masterName": "ovs-ovn-vzqvc",
          "name": "openvswitch",
          "namespace": "kube-system",
          "sid": 78564,
          "status": "Running",
          "type": "container",
          "uid": "2710d33c-566d-43a1-bfc0-ef5f173393c5"
      },
      {
          "attributes": {},
          "exceptionMsg": null,
          "ip": "10.187.6.12",
          "masterIp": "dc_cn_devcluster1",
          "masterName": null,
          "name": "10.187.6.12",
          "namespace": null,
          "sid": null,
          "status": null,
          "type": "node",
          "uid": "dd23b866-63d4-4c1e-8a95-e8f8a4404bbb"
      },
      {
          "attributes": {
              "podUid": "36d9c07b-4bdf-48f7-bce9-e8c67474f5a7",
              "workloadName": "ovs-ovn"
          },
          "exceptionMsg": null,
          "ip": null,
          "masterIp": "dc_cn_devcluster1",
          "masterName": null,
          "name": "ovs-ovn-n7sqb",
          "namespace": "kube-system",
          "sid": 31302,
          "status": "Running",
          "type": "pod",
          "uid": "57e81fe7-fa71-4e0c-93db-0f579a1da727"
      },
      {
          "attributes": {
              "containerId": "docker://7594e23c126df1a18798c3687116fcfacac30bbe1457b92ed32ddb424cb7a439",
              "podName": "ovs-ovn-n7sqb",
              "podUid": "36d9c07b-4bdf-48f7-bce9-e8c67474f5a7",
              "workloadName": "ovs-ovn"
          },
          "exceptionMsg": null,
          "ip": null,
          "masterIp": "dc_cn_devcluster1",
          "masterName": "ovs-ovn-n7sqb",
          "name": "openvswitch",
          "namespace": "kube-system",
          "sid": 78561,
          "status": "Running",
          "type": "container",
          "uid": "ab744d8f-5cd9-4b86-81ea-088906e36116"
      },
      {
          "attributes": {},
          "exceptionMsg": null,
          "ip": "10.187.6.23",
          "masterIp": "dc_cn_devcluster1",
          "masterName": null,
          "name": "10.187.6.23",
          "namespace": null,
          "sid": null,
          "status": null,
          "type": "node",
          "uid": "3d189bb0-539b-4cd0-b57e-40a48b1e0de8"
      },
      {
          "attributes": {
              "podUid": "a7351549-ee07-41aa-ba19-41ad9024eb2e",
              "workloadName": "ovs-ovn"
          },
          "exceptionMsg": null,
          "ip": null,
          "masterIp": "dc_cn_devcluster1",
          "masterName": null,
          "name": "ovs-ovn-f7mbh",
          "namespace": "kube-system",
          "sid": 31297,
          "status": "Running",
          "type": "pod",
          "uid": "55b8a847-b9c3-4d50-9f75-394911d463a0"
      },
      {
          "attributes": {
              "containerId": "docker://8c9c06ccae57be201b62b59b52b7c106e15909d9d4488f4ed21e2f11d0a513dc",
              "podName": "ovs-ovn-f7mbh",
              "podUid": "a7351549-ee07-41aa-ba19-41ad9024eb2e",
              "workloadName": "ovs-ovn"
          },
          "exceptionMsg": null,
          "ip": null,
          "masterIp": "dc_cn_devcluster1",
          "masterName": "ovs-ovn-f7mbh",
          "name": "openvswitch",
          "namespace": "kube-system",
          "sid": 78556,
          "status": "Running",
          "type": "container",
          "uid": "b90a0d2a-6eca-459e-82d9-7b2c51039b01"
      }
  ]
}
 // 分层拓扑构造调用关系
 const buildEdges = (links, nodes) => {
  const edges = [];
  links.forEach((link) => {
    const ids = link.split(",");
    if (
      nodes.findIndex((item) => item.uid === ids[0]) > -1 &&
      nodes.findIndex((item) => item.uid === ids[1]) > -1
    ) {
      edges.push({
        source: nodes.findIndex((item) => item.uid === ids[0]),
        target: nodes.findIndex((item) => item.uid === ids[1]),
      });
    }
  });
  return edges;
};
console.log(buildEdges(data2.links, data2.nodes));
